package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysSingleQuestion;

/**
 * 单选题Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
public interface SysSingleQuestionMapper 
{
    /**
     * 查询单选题
     * 
     * @param id 单选题主键
     * @return 单选题
     */
    public SysSingleQuestion selectSysSingleQuestionById(Long id);

    /**
     * 查询单选题列表
     * 
     * @param sysSingleQuestion 单选题
     * @return 单选题集合
     */
    public List<SysSingleQuestion> selectSysSingleQuestionList(SysSingleQuestion sysSingleQuestion);

    /**
     * 新增单选题
     * 
     * @param sysSingleQuestion 单选题
     * @return 结果
     */
    public int insertSysSingleQuestion(SysSingleQuestion sysSingleQuestion);

    /**
     * 修改单选题
     * 
     * @param sysSingleQuestion 单选题
     * @return 结果
     */
    public int updateSysSingleQuestion(SysSingleQuestion sysSingleQuestion);

    /**
     * 删除单选题
     * 
     * @param id 单选题主键
     * @return 结果
     */
    public int deleteSysSingleQuestionById(Long id);

    /**
     * 批量删除单选题
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysSingleQuestionByIds(String[] ids);
}
